package com.ctg.itrdc.imageconsole.data.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

import com.ctg.itrdc.paspsdk.pub.entity.BaseEntity;

/**
 * 
 * @author yinguoman
 *
 */
@Table(name = "DOCKER_APP_IMAGE")
// @CacheProvider(groupId="groupId2", level=CacheLevel.THREADLOCAL,
// readOnly=false)
public class DockerAppImage extends BaseEntity<Long> {

	private static final long serialVersionUID = 806622756820878644L;

	@Id
	@Column(name = "ID")
	private Long id;

	/**
	 * 镜像归类表id
	 */
	@Column(name = "DOCKER_APP_TYPE_ID")
	private Long dockerAppTypeId;

	/**
	 * 镜像文件信息表id
	 */
	@Column(name = "DOCKER_IMAGE_FILE_ID")
	private Long dockerImageFileId;

	@Column(name = "CREATE_USER_ID")
	private Long createUserId;

	@Column(name = "CREATE_TIME")
	private String createTime;

	@Column(name = "LAST_UPDATE_USER_ID")
	private Long lastUpdateUserId;

	@Column(name = "LAST_UPDATE_TIME")
	private String lastUpdateTime;

	@Override
	public Long getId() {
		return id;
	}

	@Override
	public void setId(Long id) {
		this.id = id;
	}

	public Long getDockerAppTypeId() {
		return dockerAppTypeId;
	}

	public void setDockerAppTypeId(Long dockerAppTypeId) {
		this.dockerAppTypeId = dockerAppTypeId;
	}

	public Long getDockerImageFileId() {
		return dockerImageFileId;
	}

	public void setDockerImageFileId(Long dockerImageFileId) {
		this.dockerImageFileId = dockerImageFileId;
	}

	public Long getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(Long createUserId) {
		this.createUserId = createUserId;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public Long getLastUpdateUserId() {
		return lastUpdateUserId;
	}

	public void setLastUpdateUserId(Long lastUpdateUserId) {
		this.lastUpdateUserId = lastUpdateUserId;
	}

	public String getLastUpdateTime() {
		return lastUpdateTime;
	}

	public void setLastUpdateTime(String lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}

}
